package com.java.base.httpclient;

/**
 * @ClassName HttpResult
 * @Description 响应对象
 * @Author Trigger Wu
 * @Date 2018/9/1319:09
 * @Version 1.0
 **/
public class HttpResult {
    // 响应的状态码
    private Integer code;
    // 响应的响应体
    private String body;

    public HttpResult(Integer code,String body) {
        this.code = code;
        this.body = body;
    }


    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getBody() {
        return body;
    }

    public void setBody(String body) {
        this.body = body;
    }
}
